package com.java.test52;

public class TestDriver {

	public static void main(String[] args) {
		test();

	}

	private static void test() {
		// 创建一个园丁对象
		Gardener gar = new Gardener();
		//父类指代子类，多态的行为
		Fruit fruit=gar.creat();

	}
}
